package fr.playsoft.psas;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.animation.AnimationUtils;

public class FakeView extends Activity {
    
	/** Called when the activity is first created. */
	public void onCreate(Bundle icicle) {
		super.onCreate(icicle);
				
		setContentView(R.layout.fakeview);
		
	}
	
	public void onOpenPickerClick(View v) {
		View frame2 = findViewById(R.id.frame2);
		frame2.setVisibility(View.VISIBLE);
		
		View frame2Main = findViewById(R.id.frame2_main);
		frame2Main.startAnimation(AnimationUtils.loadAnimation(this, R.anim.anim_layout_up2top));
	}
	
	public void onEmptyViewClick(View v) {
		View frame2Main = findViewById(R.id.frame2_main);
		frame2Main.startAnimation(AnimationUtils.loadAnimation(this, R.anim.anim_layout_top2down));
		
		View frame2 = findViewById(R.id.frame2);
		frame2.setVisibility(View.INVISIBLE);
	}
	
}